<template>
	<view class="">
		<tabbar-index :loading="loading"></tabbar-index>
		<view class="cu-bar tabbar bg-white foot shadow">
			<view class="action text-green">
				<view class="cuIcon-homefill"></view> 首页
			</view>
			<view class="action text-gray add-action">
				<button class="cu-btn cuIcon-add bg-green shadow"></button>
				发起申请
			</view>
			<view class="action text-gray">
				<view class="cuIcon-my">
					<view class="cu-tag badge"></view>
				</view>
				我的
			</view>
		</view>
	</view>
</template>

<script>
	import tabbarIndex from "../../components/tabbar-index/tabbar-index.vue"
	export default {
		components:{
			tabbarIndex
		},
		data() {
			return {
				title: 'Hello',
				loading: false
			}
		},
		onLoad() {

		},
		onPageScroll (e){
			console.log(e)
		},
		onReachBottom(e){
			console.log(e)
			this.loading = true
			setTimeout(()=>{
					this.loading = false
			},2000)
		},
		methods: {

		}
	}
</script>

<style>
</style>
